p {
  margin: 0;
  padding: 0;
}

.plr40 {
  padding-left: 40px;
  padding-right: 40px;
}

.page {
  background: #d8d8d8;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid #d8d8d8;
  font-family: PingFang SC-Medium, PingFang SC;

  .single_page {
    position: relative;
    //width: 1000px;
    width: 592.28px;
    background: #fff;
    margin: 20px auto;
    // background: #fff url('../../assets/images/pdf/snow.png') no-repeat right 40px;
    // background-size: 50% auto;
    // min-height: 100vh;
    height: 841.89px;
    //border-top: 1px solid #fff;

    .inner_page {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 2;
      overflow: hidden;

      // 面包屑
      .crumbs_box {
        position: relative;
        //border-bottom: 4px solid #B3D0E2;
        margin-top: 40px;

        .title {
          position: relative;
          height: 40px;
          line-height: 40px;
          background: #004385;
          color: #fff;
          padding: 0 10px;
          box-sizing: border-box;
          display: flex;
          align-items: center;
          justify-content: space-between;
          width: 40%;
          font-size: 12px;
          // .name {
          //   // margin-right: 10px;
          // }

          i {
            font-size: 24px;
          }
        }

        .title:after {
          position: absolute;
          display: block;
          content: '';
          width: 0;
          height: 0;
          border-top: 30px solid transparent;
          border-bottom: 40px solid #004385;
          border-right: 30px solid transparent;
          right: -29px;
          top: -30px;
          z-index: 2;
        }

        .sub_title {
          position: absolute;
          top: 0;
          bottom: 0;
          left: 40%;
          font-size: 12px;
          padding-left: 30px;
          line-height: 32px;
          color: #004385;
        }
      }

      .crumbs_box:after {
        display: block;
        content: '';
        position: absolute;
        height: 8px;
        background: #b3d0e2;
        left: 40%;
        right: 0;
        bottom: 0px;
      }

      // 得分
      .score_box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 40px;

        .left,
        .right {
          flex: 1;
          color: rgba(0, 67, 133, 1);
        }

        .left {
          p {
            line-height: 1.5;
          }

          .p1 {
            font-size: 20px;
          }

          .p2 {
            font-size: 18px;
          }
        }

        .right {
          span {
            font-size: 20px;
          }

          .num {
            font-size: 120px;
            // font-weight: bold;
            font-family: Arial;
          }
        }
      }

      // 得分级别
      .level_box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 60px;

        .cell {
          position: relative;
          width: 17%;
          text-align: center;
          border-top: 8px solid #b3d0e2;
          padding-top: 20px;
          color: #a09a9a;
        }

        .active {
          border-top: 8px solid #004385;
        }

        .active:after {
          display: block;
          content: '';
          width: 0;
          height: 0;
          position: absolute;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-top: 10px solid #004385;
          top: -24px;
          left: 50%;
          transform: translateX(-50%);
        }
      }

      // 得分说明描述
      .score_desc {
        margin-top: 40px;

        p {
          font-size: 18px;
          color: #004385;
          margin: 10px 0;
          line-height: 1.5;
        }
      }
    }

    // 第二页 牙齿背景图
    .score_teeth {
      position: absolute;
      bottom: 100px;
      right: 0;
      z-index: 1;
      width: 30%;
    }

    // 第二页 牙齿底部
    .score_footer {
      position: absolute;
      bottom: 20px;
      right: 0;
      left: 0;

      .logo_top {
        justify-content: flex-end;
        margin: 20px 0 20px 0;

        .logo {
          width: 40px;
          height: 40px;
        }

        .logo_desc {
          height: 40px;

          p {
            font-size: 14px;
          }
        }
      }
    }

    .snow {
      position: absolute;
      top: 40px;
      right: 0;
      z-index: 1;
      width: 50%;
    }

    .logo_top {
      display: flex;
      align-items: center;
      margin: 40px 0;

      .logo {
        width: 60px;
        margin-right: 10px;
      }

      .logo_desc {
        height: 60px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 2px 0;
        box-sizing: border-box;

        p {
          color: rgba(0, 67, 133, 1);
          font-size: 18px;
        }

        .p2 {
          text-indent: 0.5em;
          // letter-spacing: 4px;
        }
      }
    }

    .title_box {
      //   padding: 0 40px;
      display: flex;
      flex-direction: column;
      width: auto;
      margin-top: 80px;

      .img {
        height: 76px;
      }

      .img_name {
        height: 50px;
        margin: 30px 0;
      }
    }

    .footer {
      margin-top: 20px;

      img {
        max-width: 100%;
      }
    }

    .user_info {
      //   padding: 0 40px;
      color: rgba(0, 67, 133, 1);
      margin-top: 60px;

      span {
        font-size: 24px;
      }

      .name {
        font-size: 40px;
        margin-right: 10px;
      }

      .time {
        color: rgba(0, 67, 133, 1);
        font-size: 20px;
        margin-top: 30px;
      }
    }

    .desc_wrap {
      position: relative;
      font-size: 12px;
      // letter-spacing: 4px;
      color: rgba(0, 67, 133, 1);
      margin-top: 60px;
      line-height: 1.5;
      padding-top: 10px;
      padding-bottom: 10px;
    }

    .desc_wrap:after {
      display: block;
      content: '';
      height: 2px;
      background: rgba(0, 67, 133, 1);
      position: absolute;
      top: 0;
      left: 40px;
      width: 40px;
    }
  }
}

// 第三页 -全景片
.title_wrap {
  margin-top: 40px;
  color: #004385;

  p {
    line-height: 1.5;
    font-size: 24px;
  }
}

.panorama {
  position: relative;
  margin-top: 60px;

  img {
    width: 100%;
    max-height: 300px;
  }
}

.teeth_science {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;

  .cell {
    flex: 0 0 46%;
    font-size: 12px;
    line-height: 2;
    color: #004385;
  }

  .cell:nth-child(2n) {
    flex: 0 0 54%;
  }
}

.teeth_science_img {
  width: 80%;
  margin: 50px auto 0 auto;
  text-align: center;

  img {
    width: 100%;
  }
}

.company_box {
  display: flex;

  .profile_box {
    padding: 100px 40px 0 40px;

    p {
      color: #004385;
      line-height: 2;
    }
  }
}

.company_profile {
  position: relative;
  height: 100%;
  width: 240px;

  img {
    height: 100%;
  }

  .profie {
    position: absolute;
    left: 0;
    top: 100px;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 0 40px;
    font-size: 30px;
    color: #004385;
    line-height: 1.5;
    font-family: Arial;

    .sp3 {
      position: relative;
      font-size: 24px;
      padding-top: 10px;
      margin-top: 10px;
      font-family: PingFang SC-Medium, PingFang SC;
    }

    .sp3:after {
      display: block;
      content: '';
      height: 2px;
      width: 30%;
      background: #004385;
      position: absolute;
      left: 0;
      top: 0;
    }
  }
}

.qrcode {
  position: absolute;
  right: 40px;
  bottom: 40px;
  text-align: center;

  img {
    width: 120px;
  }

  p {
    font-size: 12px;
    color: #004385;
  }
}

.last_page {
  background: #fff url('../../assets/images/pdf/bg.png') no-repeat center center !important;
  background-size: 90% auto !important;
}

.last_content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64%;
  color: #004385;
  line-height: 1.5;

  p {
    margin: 10px 0;
    font-weight: bold;
  }

  .p1 {
    font-weight: bold;
  }

  .p2 {
    // font-family: Arial;
    font-size: 12px;
  }
}

.last_footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  background: #004385;
  display: flex;
  justify-content: center;
  padding: 30px 0;

  .last_footer_logo {
    display: flex;
    align-items: center;

    img {
      width: 60px;
      margin-right: 20px;
    }

    .desc {
      height: 50px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: #fff;
    }
  }
}

.question_box {
  margin-top: 30px;

  .cell {
    font-size: 16px;
    color: #004385;
    line-height: 2;
  }
}

.teeth_box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 15px 0;

  .cell_box {
    position: relative;
    // flex: 0 0 50%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    //padding: 10px;
    box-sizing: border-box;
    text-align: center;

    .cell {
      position: relative;
      width: 30px;
      margin: 0 2px;
      cursor: pointer;

      img {
        width: 100%;
      }

      .tag_line {
        position: absolute;
        //top: -80px;
        //left: 15px;
        // transform: translateX(-50%);
        width: 80px;
        height: 80px;
        font-size: 12px;

        .left_line {
          position: absolute;
          width: 1px;
          top: 0;
          bottom: 0;
          //left: 0;
          background: #f00;
          z-index: 1;
        }

        .top_line {
          position: absolute;
          height: 1px;
          top: 0;
          //left: 0;
          background: #f00;
          width: 30px;
          z-index: 1;
        }

        .desc {
          position: absolute;
          //left: 30px;
          top: 0;
          width: 100%;

          span {
            padding: 2px 10px;
            border-radius: 4px;
            color: #fff;
          }
        }
      }
    }

    .name {
      color: rgba(50, 50, 51, 1);
      font-size: 12px;
      line-height: 2;
    }
  }

  // 左上
  .cell_top_left_box {
    .tag_line {
      right: 15px;

      .left_line {
        right: 0;
        top: 0;
      }

      .top_line {
        right: 0;
        top: 0;
      }

      .desc {
        right: 30px;
      }
    }

    .tag_top_first {
      left: 15px;
      right: auto;
      height: 130px !important;

      .left_line {
        left: 0 !important;
        right: auto !important;
      }

      .top_line {
        left: 0 !important;
        right: auto !important;
      }

      .desc {
        left: 20px !important;
        right: auto !important;
      }
    }
  }

  // 右上
  .cell_top_right_box {
    .tag_line {
      left: 13px;

      .left_line {
        left: 0;
        top: 0;
      }

      .top_line {
        left: 0;
        top: 0;
      }

      .desc {
        left: 30px;
        top: -6px !important;
      }
    }

    .tag_top_last {
      right: 15px;
      left: auto;
      height: 130px !important;

      .left_line {
        right: 0 !important;
        left: auto !important;
      }

      .top_line {
        right: 0 !important;
        left: auto !important;
      }

      .desc {
        right: 20px !important;
        left: auto !important;
      }
    }
  }




}

.bottom_box {
  .cell_box {
    align-items: flex-start;

    .cell {
      .tag_line {

        // top: auto;
        // bottom: 0;
        .top_line {
          top: auto;
          bottom: 0;
        }

        .desc {
          position: absolute;
          //left: 30px;
          bottom: 0;
          top: auto;
        }
      }
    }
  }

  // 左下
  .cell_bottom_left_box {
    .tag_line {
      right: 15px;

      .left_line {
        right: 0 !important;
      }

      .top_line {
        right: 0 !important;
      }

      .desc {
        right: 20px !important;
      }
    }

    .tag_bottom_first {
      left: 15px;
      right: auto;
      height: 130px !important;

      .left_line {
        left: 0 !important;
        right: auto !important;
      }

      .top_line {
        left: 0 !important;
        right: auto !important;
      }

      .desc {
        left: 20px !important;
        right: auto !important;
      }
    }

  }

  // 右下
  .cell_bottom_right_box {
    .tag_line {
      left: 15px;

      .left_line {
        left: 0 !important;
      }

      .top_line {
        left: 0 !important;
      }

      .desc {
        left: 20px !important;
      }
    }

    .tag_bottom_last {
      right: 15px;
      left: auto;
      height: 130px !important;

      .left_line {
        right: 0 !important;
        left: auto !important;
      }

      .top_line {
        right: 0 !important;
        left: auto !important;
      }

      .desc {
        right: 20px !important;
        left: auto !important;
      }
    }
  }

}

.teeth_wrap {
  position: absolute;
  top: 300px;
  left: 0;
  //bottom: 0;
  right: 0;
}

.question_title {
  display: flex;
  align-items: center;
  justify-content: space-between;

  .title_wrap {
    padding-right: 10px;

    .p2 {
      font-size: 18px;
    }
  }

  .question_img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    text-align: center;
    margin-top: 60px;

    img {
      width: 100%;
      max-height: 100%;
    }
  }
}

.panorama_result {
  .tag_line {
    .left_line {
      position: absolute;
      width: 1px;
      top: 0;
      bottom: 0;
      //left: 0;
      background: #f00;
      z-index: 1;
    }

    .top_line {
      position: absolute;
      height: 1px;
      //top: 0;
      //left: 30px;
      background: #f00;
      width: 30px;
      z-index: 1;
    }

    .desc {
      position: absolute;
      //left: 30px;
      //top: 0;
      width: 100%;

      span {
        padding: 2px 10px;
        border-radius: 4px;
        color: #f00;
        font-size: 12px;
      }
    }
  }

  // 左上
  .tag_top_left_line {
    .left_line {
      right: 0;
    }

    .top_line {
      right: 0;
      top: 0;
    }

    .desc {
      right: 30px;
      text-align: right;
      top: -8px;
    }
  }

  // 右上
  .tag_top_right_line {
    .left_line {
      left: 0;
    }

    .top_line {
      left: 0;
      top: 0;
    }

    .desc {
      left: 30px;
      text-align: left;
      top: -8px;
    }
  }

  // 右下
  .tag_bottom_right_line {
    .left_line {
      left: 0;

    }

    .top_line {
      left: 0;
      bottom: 0;
    }

    .desc {
      left: 30px;
      text-align: left;
      bottom: -8px;
    }
  }

  // 左下
  .tag_bottom_left_line {
    .left_line {
      right: 0;
    }

    .top_line {
      right: 0;
      bottom: 0;
    }

    .desc {
      right: 30px;
      text-align: right;
      bottom: -8px;
    }
  }

}

.consequence {
  position: absolute;
  top: 660px;
  font-size: 16px;
  color: #004385;
  line-height: 2;
}